<?php

	class Backend_Form_Confirm extends UcsMvc_AbstractForm{

		public $elementDecorators = array('ViewHelper', 'Errors');

		public function init() {

            $submit = new Zend_Form_Element_Submit('submit');
            $submit->setDecorators($this->elementDecorators)
                ->setAttrib('class', 'button')
                ->setLabel($this->_translator->translate('Absenden', $this->_language))
                ->removeDecorator('Label');
            $this->addElement($submit);

            $abort = new Zend_Form_Element_Submit('cancle');
            $abort->setDecorators($this->elementDecorators)
                ->setAttrib('class', 'button')
                ->setLabel($this->_translator->translate('Abbrechen', $this->_language))
                ->removeDecorator('Label');
            $this->addElement($abort);

            $this->prepareDecorators();
		}
	}